package com.app.studyroom.api.model.ssrApproval;

public class ApprovalCompleteRequest {
    public String taskId;
    public boolean approved;
    public String rejectReason;
    public String processInstanceId;

    public ApprovalCompleteRequest(String taskId, boolean approved, String rejectReason, String processInstanceId) {
        this.taskId = taskId;
        this.approved = approved;
        this.rejectReason = rejectReason;
        this.processInstanceId = processInstanceId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public boolean isApproved() {
        return approved;
    }

    public void setApproved(boolean approved) {
        this.approved = approved;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }
}